#pragma once

#include "TextStyle.h"

class StyleRange: public TextStyle {
public:
	StyleRange(void);
	virtual ~StyleRange(void);
public:
	int start;
	int length;

	/**
	 * the font style of the range. It may be a combination of
	 * SWT.NORMAL, SWT.ITALIC or SWT.BOLD
	 *
	 * Note: the font style is not used if the <code>font</code> attribute
	 * is set
	 */
	int fontStyle;
};
